﻿@inherits BootstrapComponentBase

@if (Items == null)
{
    <div>Loading ...</div>
}
else
{
    <Button Text="全部收缩" OnClick="CollapseAll" />
    <Button Text="全部展开" OnClick="ExpandAll" />
    <Button Text="收缩第二层" OnClick="CollapseTimesAll" />
    <Button Text="展开第二层" OnClick="ExpandTimesAll" />
    <Button Text="收缩第三层" OnClick="CollapseMenusAll" />
    <Button Text="展开第三层" OnClick="ExpandMenusAll" />
    <FoodDay Items="Items" @ref="FoodDayElement" />
}
